package com.koron.css2.newProjectCenter.bean.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.common.bean.query.BaseQueryBean;

import java.util.Date;
import java.util.List;

public class PubUpNewsQueryBean extends BaseQueryBean {

	/**
	 * 主键
	 */
	private String id;
	/**
	 * 机构
	 */
	private String orgId;
	/**
	 * 标题
	 */
	private String title;
	/**
	 * 内容
	 */
	private String content;
	/**
	 * 备注
	 */
	private String remarks;
	/**
	 * 租户编号
	 */
	private String tenant;
	/**
	 * 接收人
	 */
	private String recipient;
	/**
	 * 阅读时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date readTime;

	/**
	 * 阅读状态 0未读 1已读
	 */
	private String readStatus;

	/**
	 * 阅读状态 1 select  2 update 3 清除消息
	 */
	private Integer toDo;

	/**
	 * 申请时间
	 */
	private String createTime;

	/*
	* 3 清除消息 ids 是消息的id的list集合
	* */
	private List<String> ids;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getTenant() {
		return tenant;
	}

	public void setTenant(String tenant) {
		this.tenant = tenant;
	}

	public String getRecipient() {
		return recipient;
	}

	public void setRecipient(String recipient) {
		this.recipient = recipient;
	}

	public Date getReadTime() {
		return readTime;
	}

	public void setReadTime(Date readTime) {
		this.readTime = readTime;
	}

	public String getReadStatus() {
		return readStatus;
	}

	public void setReadStatus(String readStatus) {
		this.readStatus = readStatus;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Integer getToDo() {
		return toDo;
	}

	public void setToDo(Integer toDo) {
		this.toDo = toDo;
	}

	public List<String> getIds() {
		return ids;
	}

	public void setIds(List<String> ids) {
		this.ids = ids;
	}
}
